<extend name="Public/List/Common"/>
<block name="pageContent">
    <div class="bjui-pageContent tableContent">
        <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
            <tr>
                <th>
                        频道ID                    </th><th>
                        上级频道ID                    </th><th>
                        频道标题                    </th><th>
                        频道连接                    </th><th>
                        导航排序                    </th><th>
                        创建时间                    </th><th>
                        更新时间                    </th><th>
                        状态                    </th><th>
                        新窗口打开                    </th>                <th width="100">操作</th>
            </tr>
            </thead>
            <tbody>
            
                <volist name="channelList" id="vo">
            
            <tr>
                <td>
                        {$vo.id}
                    </td><td>
                        {$vo.pid}
                    </td><td>
                        {$vo.title}
                    </td><td>
                        {$vo.url}
                    </td><td>
                        {$vo.sort}
                    </td><td>
                        {$vo.create_time|time_format}
                    </td><td>
                        {$vo.update_time|time_format}
                    </td><td>
                        {$vo.status|columnToName}
                    </td><td>
                        {$vo.target}
                    </td>                <td>
                    <a href="{:U('edit?id='.$arr['id'])}" class="btn btn-green" data-toggle="dialog"  data-id="dialog-normal" data-mask="true"
                       data-title="详细">详细</a>
                    <a href="{:U('del?id='.$arr['id'])}" class="btn btn-red"
                       data-toggle="doajax">删除</a>
                </td>
            </tr>
            
                </volist>
            
            </tbody>
        </table>
    </div>
</block>